<?php
// test/unit/SimpleDocFlowFileTest.php
include(dirname(__FILE__).'/../../bootstrap/Doctrine.php');
 
$t = new lime_test(1, new lime_output_color());
 
$t->comment('->getFileNameSlug()');
$document = Doctrine::getTable('Document')->createQuery()->fetchOne();
$t->is($document->getNameSlug(), SimpleDocFlow::slugify($document->getNameSlug()), 
	'->getNameSlug() return the slug for the file');
